package com.sdlg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdlg.pojo.BookGroupBookItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookGroupBookItemMapper extends BaseMapper<BookGroupBookItem> {
    @Select("SELECT bookitem_id FROM t_bookgroup_t_bookitem WHERE bookgroup_id = #{gid}")
    public List<Integer> getCheckitemIdByGroupId(@Param("gid") Integer gid);

}
